
package memberlayer

import (
    
)

// 充值类型
const (
	// 用户充值
	ChargeByUser int32 = 1
	// 系统自动充值
	ChargeBySystem int32 = 2
	// 客服充值
	ChargeByService int32 = 3
	// 退款充值
	ChargeByRefund int32 = 4
)

// 可支付的账户类型
const (
	// 余额账户
	AccountBalance = 1
	// 积分账户
	AccountIntegral = 2
	// 钱包账户
	AccountWallet = 3
	// 流通金账户
	AccountFlow = 4
)

const (
	// 自定义的业务类型
	KindMine int32 = 30
	// 会员充值
	KindBalanceCharge int32 = 1
	// 系统充值
	KindBalanceSystemCharge int32 = 2
	// 支付抵扣
	KindBalanceDiscount int32 = 3
	// 退款
	KindBalanceRefund int32 = 4
	// 转入
	KindBalanceTransferIn int32 = 5
	// 转出
	KindBalanceTransferOut int32 = 6
	// 失效
	KindBalanceExpired int32 = 7
	// 冻结
	KindBalanceFreeze int32 = 8
	// 解冻
	KindBalanceUnfreeze int32 = 9

	// 客服充值
	KindBalanceServiceCharge int32 = 15
	// 客服扣减
	KindBalanceServiceDiscount int32 = 16
)


const (
	// 赠送
	TypeIntegralPresent = 1
	// 积分抵扣
	TypeIntegralDiscount = 2
	// 积分冻结
	TypeIntegralFreeze = 3
	// 积分解冻
	TypeIntegralUnfreeze = 4
	// 购物赠送
	TypeIntegralShoppingPresent = 5
	// 支付抵扣
	TypeIntegralPaymentDiscount = 6
)
